package com.hsl.housaileibot001.model.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 题目导入DTO
 * 用于Excel导入题目数据
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "题目导入DTO")
public class QuestionImportDTO {

    /**
     * 题目标题
     */
    @ExcelProperty("题目")
    @Schema(description = "题目标题")
    private String title;

    /**
     * 难度等级
     */
    @ExcelProperty("难度")
    @Schema(description = "难度等级")
    private String difficulty;

    /**
     * 标签，多个标签用逗号分隔
     */
    @ExcelProperty("标签")
    @Schema(description = "标签，多个标签用逗号分隔")
    private String tags;

    /**
     * 题目链接
     */
    @ExcelProperty("链接")
    @Schema(description = "题目链接")
    private String link;

    /**
     * 来源网站
     */
    @ExcelProperty("来源")
    @Schema(description = "来源网站")
    private String source;
}
